package com.atguigu.spring5.bean;/*
@author joker
@create 2022-03-17 15:14
untitled
*/
/*部门类*/
public class Dept {
    private String dname;

    /*一个部门里面可以有多个员工*/
    public void setDname(String dname) {
        this.dname = dname;
    }

    @Override
    public String toString() {
        return "Dept{" +
                "dname='" + dname + '\'' +
                '}';
    }
}

